package com.example.nonggo.contract;

import com.example.nonggo.base.IBasePresenter;
import com.example.nonggo.base.IBaseView;
import com.example.nonggo.bean.ConditionRes;

import java.io.File;

public interface QuestionContract extends IBaseView {
    void getQuestion(String txt);

    /**
     * 获取文件目录
     *
     * @return - 文件目录
     */
    File getFilesDir();

    /**
     * 显示麦克风遮罩
     */
    void showMicMask();

    /**
     * 隐藏麦克风遮罩
     */
    void hideMicMask();

    void updateWaveform(int db);

    void addNewQuestion(String question);


    interface Presenter extends IBasePresenter {
        void wearChatMessages(String data);

        void translateText(String s);
    }
}
